<?php 
function fb_custom_admin_settings() {
	$form['site_host'] = array(
	'#type' => 'textfield',
	'#title' => t('Site url'),
	'#default_value' => variable_get('site_host','')
	);
	$form['fb_app_id'] = array(
	'#type' => 'textfield',
	'#title' => t('Application ID'),
	'#default_value' => variable_get('fb_app_id','')
	);
	$form['fb_app_secret'] = array(
	'#type' => 'textfield',
	'#title' => t('Application Secret'),
	'#default_value' => variable_get('fb_app_secret','')
	);
	$form['fb_app_perms'] = array(
	'#type' => 'textfield',
	'#title' => t('Application Permissions'),
	'#default_value' => variable_get('fb_app_perms','')
	);
	$form['fb_app_opt'] = array(
	'#type' => 'checkbox',
	'#title' => t('Create user automatically'),
	'#default_value' => variable_get('fb_app_opt',''),
	);
	return system_settings_form($form);
}
